type StrType = string | undefined
type NumType = number | undefined

interface CollectFormBindType {
  origin_category: StrType // 源一级分类
  origin_sub_category: StrType // 源二级分类
  site_category: StrType // 站点一级分类
  site_category_id: StrType // 站点一级分类 id
  site_sub_category: StrType // 站点二级分类
  site_sub_category_id: StrType // 站点二级分类 id
  num: number // 影片数量
  selectIds?: string[] // select 框绑定的值，最终提交时删除
}
interface CollectFormType {
  name: string
  resource_type: NumType
  content_type: NumType
  collect_addr: string
  seed_key: string
  video_resource_type: number[]
  other_param: string
  interface_type: NumType
  data_handing: NumType
  site_id: StrType
  status: NumType
  bind: CollectFormBindType[]
  res_description: string
}

export type { CollectFormBindType, CollectFormType }
